#pragma once

#include "sendmsg.h"

#define llog(format, args...);   \
    fprintf(stdout, "%s:%d %s " format, __FILE__, __LINE__, __func__, ##args); 

int httpd_write_channel(int sock, http_channel_t *send_buf, int send_len);
int httpd_read_channel(int sock, http_channel_t *recv_buf, int recv_len);

